﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using AsmDependency.Core.AsmApplication;
using AsmDependency.Core.UserInterface;
using AsmDependency.Utility;

namespace AsmDependency
{
    public sealed class Program : AsmDependencyApplication
    {
        private Program(CCommandLine commandLine) : base(commandLine)
        {

        }
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main(string[] args)
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            CCommandLine commandLine = new CCommandLine(args);
            bool flag = true;
            if (commandLine.ShowHelp)
            {
                ShowUsage();
                flag = false;
            }
            if (flag)
            {
                new Program(commandLine).Run();
            }
        }

        protected override CApplicationWindow CreateApplicationWindow()
        {
            return new ApplicationWindow(this);
        }

        private static void ShowUsage()
        {
        }
    }
}
